package com.cq.hd.system.service.impl;

import com.cq.hd.system.api.vo.HfMccVo;
import com.cq.hd.system.po.TbHfMccPo;
import com.cq.hd.system.mapper.TbHfMccMapper;
import com.cq.hd.system.service.TbHfMccService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 汇付mcc表 服务实现类
 * </p>
 *
 * @author mYunYu
 * @since 2023-12-25
 */
@Service
public class TbHfMccServiceImpl extends ServiceImpl<TbHfMccMapper, TbHfMccPo> implements TbHfMccService {

    @Override
    public List<HfMccVo> listHfMccById(Integer id) {
        return baseMapper.listHfMcc(id);
    }

    @Override
    public List<HfMccVo> listHfMccByGrade(int grade) {
        return baseMapper.listHfMccByGrade(grade);
    }

    @Override
    public List<HfMccVo> listHfMccByMccCodes(Set<String> mccList) {
        return baseMapper.listHfMccByMccCodes(mccList);
    }
}
